package com.itheima.cloud.clients.impl;

import com.itheima.cloud.clients.UserClient;
import com.itheima.cloud.pojo.User;
import org.springframework.stereotype.Component;

//@Component
public class UserClientImpl implements UserClient {
    @Override
    public User queryById(Long id) {
        User user = new User();
        user.setName("爆炸");
        return user;
    }
}
